package com.qdxwx.models.card;

import java.io.Serializable;
import java.time.LocalDateTime;

public class CardCode implements Serializable{
    private static final long serialVersionUID = -6919912026309481722L;
    private Long id;
    private Long cardId;
    private String cardCode;
    private String cardCodePassword;
    private Long userId;
    private String userName;
    private Integer orderId;
    private String status;
    private LocalDateTime useTime;
    private LocalDateTime createTime;

    public CardCode() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCardId() {
        return cardId;
    }

    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }

    public String getCardCode() {
        return cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    public String getCardCodePassword() {
        return cardCodePassword;
    }

    public void setCardCodePassword(String cardCodePassword) {
        this.cardCodePassword = cardCodePassword;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUseTime() {
        return useTime;
    }

    public void setUseTime(LocalDateTime useTime) {
        this.useTime = useTime;
    }

    @Override
    public String toString() {
        return "CardCode{" +
                "id=" + id +
                ", cardId=" + cardId +
                ", cardCode='" + cardCode + '\'' +
                ", cardCodePassword='" + cardCodePassword + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", orderId=" + orderId +
                ", status='" + status + '\'' +
                ", useTime=" + useTime +
                ", createTime=" + createTime +
                '}';
    }
}
